<?php
$article = $this->article;
?>
<div style="background-color:#fff;width:100%;height:100%">
    <div class="article-container">
        <?php if($article): ?>
            <h2 class="article-title"><?= $article['title'] ?></h2>
            <div class="article-content">
                <?= $article['detail'] ?>
            </div>
        <?php endif; ?>
    </div>
</div>


<style>
.article-container {
	margin: 30px;
	overflow: hidden;
	border: 1px solid #ddd;
    border-radius: 10px;
    background-color: rgba(250, 250, 250, 0.8);
}
.article-title {
	text-align: center;
}
.article-content {
	overflow: hidden;
	margin:auto;
	padding-bottom: 30px;
	width: 90%;
    height: auto;
    min-height: 400px;
	text-align: justify;
	line-height: 1.5em;
}
</style>


